home *** CD-ROM | disk | FTP | other *** search
- /* This is the source code for the init resource for the cdev. All it */
- /* does is display the icons at start-up. */
-
-
- #define BaseIconID 128
- #define LastIconID -4064
- #define ProcID 128
- #define WordResID -4048
- #define NumIcons 8
- #define NormalAppFont applFont
- #define DelayTime 30L
-
- main()
- {
- Handle procH;
- int i;
- long dummy;
-
- if ((procH = GetResource('jROC', ProcID)) != 0l)
- {
- HLock(procH);
- CallPascal(BaseIconID, 0, *procH);
- Delay(DelayTime, &dummy);
-
- for (i = 1; i < NumIcons -1; i++)
- CallPascal(BaseIconID + i, 0, *procH);
- CallPascal(LastIconID, -1, *procH);
- HUnlock(procH);
- }
- }
-
-
-